package com.cn.springcloudwechat.service.find.askDoctor;

import com.cn.springcloudwechat.model.find.askDoctor.YmDoctor;
import com.cn.springcloudwechat.model.find.askDoctor.YmDoctorLevel;
import com.cn.springcloudwechat.model.find.askDoctor.YmDoctorWork;
import com.cn.springcloudwechat.model.find.askDoctor.YmDouctorConsultType;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * 问医生- 配置医生上班时间Service层
 *
 */
public interface YmDoctorWorkService {
    /**
     * 问医生-配置医生上班时间
     * @param ymDoctorWork
     * @return
     */
    public Integer insertYmDoctorWork(YmDoctorWork ymDoctorWork);

    /**
     * 问医生- 根据主键删除已经配置的医生上班时间段
     * @param ymDoctorWork,ymDoctorWork(医生上班时间)
     * @return
     */
    public Integer deleteYmDoctorWork(YmDoctorWork ymDoctorWork);

    /**
     * 问医生- 根据医生ID查询医生在线时间
     * @param doctorId
     * @return
     */
    public YmDoctorWork queryYmDoctorWork(Long doctorId);

    /**
     * 问医生-修改医生上班时间段
     * @param ymDoctorWork,ymDoctorWork(医生上班时间)
     * @return
     */
    public Integer updateYmDoctorWork(YmDoctorWork ymDoctorWork);
}
